body {
    flex-direction: column;

    header {
        width: 100%;
        height: 20rem;
    }

    main {
        overflow-y: scroll;
        padding: 0rem 1.4rem 0rem 1.5rem;
        margin: 1.5rem 0;
        width: auto;
        background: #fff;
    }

    footer {
        width: 100%;
        height: 7.7rem;
        box-shadow: 0rem 0rem 1rem 0rem rgba(0, 0, 0, 0.3);
    }
}
// 轮播图
.swiper {
    width: 100%;
    height: 100%;
    // 设置分页器颜色,二选一
    // --swiper-theme-color: #ff6600;
    --swiper-pagination-color: #fff;
}
.Slide1 {
    background: url("../img/index-swiper-bg1.jpg") no-repeat;
    background-size: cover;
}
.Slide2 {
    background: url("../img/index-swiper-bg2.jpg") no-repeat;
    background-size: cover;
}
.Slide3 {
    background: url("../img/index-swiper-bg3.jpg") no-repeat;
    background-size: cover;
}
// 第一行
.line1 {
    justify-content: space-between;
    width: 100%;
    height: 15rem;

    .ranking {
        position: relative;
        width: 15rem;
        height: 15rem;
        overflow: hidden;
        background: rgba(21, 146, 204, .73);
        border-radius: 1.5rem;

        .rankingText {
            position: absolute;
            top: 1.4rem;
            left: 1.4rem;
            height: 2.8rem;
            line-height: 2.8rem;
            font-size: 2rem;
            color: #004E73;
            font-weight: 700;
            z-index: 10;
        }

        .rankingNumber {
            position: absolute;
            bottom: 0;
            right: 1.5rem;
            height: 12.2rem;
            width: 7.8rem;
            line-height: 12.2rem;
            text-align: center;
            // font-family: PingFangSC-bold !important;
            color: #fff;
            font-size: 3rem;
            font-weight: 600;
            z-index: 10;
        }

        .rankingImg {
            position: absolute;
            bottom: 1rem;
            left: -1.5rem;
            width: 12.1rem;
            height: 12.1rem;
            background: url("../img/index-card-rank.png") no-repeat;
            background-size: cover;
            background-position: 0 1.6rem;
            z-index: 1;
        }
    }

    .clockIn {
        position: relative;
        width: 21.2rem;
        height: 15rem;
        background: rgba(123, 203, 245, .73);
        border-radius: 1.5rem;

        .clockInText {
            position: absolute;
            top: 1.4rem;
            left: 1.4rem;
            height: 2.8rem;
            line-height: 2.8rem;
            font-size: 2rem;
            color: #004E73;
            font-weight: 700;
            z-index: 10;
        }

        .clockInBtn {
            position: absolute;
            bottom: 2.5rem;
            right: 1rem;
            height: 4rem;
            width: 11rem;
            line-height: 3.4rem;
            text-align: center;
            color: #004E73;
            font-size: 1.6rem;
            font-weight: 700;
            border: 0.3rem solid #004E73;
            border-radius: 2rem;
            z-index: 10;
        }

        .clockInImg {
            position: absolute;
            bottom: 1rem;
            left: 1rem;
            width: 11rem;
            height: 11rem;
            background: url("../img/index-card-sum.png") no-repeat;
            background-size: cover;
        }
    }
}
// 第二行
.line2 {
    overflow: hidden;
    justify-content: space-between;
    width: 100%;
    height: 11rem;

    .gameData {
        position: relative;
        overflow: hidden;
        width: 18rem;
        height: 11rem;
        background: url("../img/index-card-data.png") no-repeat;
        background-size: cover;
        border-radius: 1.5rem;

        .gameDataText {
            position: absolute;
            top: 1.2rem;
            left: 1.4rem;
            font-size: 1.6rem;
            color: #fff;
        }

    }

    .badge {
        position: relative;
        width: 18.5rem;
        height: 11rem;
        background: #9DBDE3;
        background-size: cover;
        border-radius: 1.5rem;

        .badgeText {
            position: absolute;
            top: 1.2rem;
            left: 1.4rem;
            height: 2.2rem;
            line-height: 2.2rem;
            font-size: 1.6rem;
            color: #004E73;
            font-weight: 700;
            z-index: 10;
        }



        .badgeImg {
            position: absolute;
            bottom: -1rem;
            left: 0.5rem;
            width: 10rem;
            height: 10rem;
            background: url("../img/index-card-badge.png") no-repeat;
            background-size: cover;
            z-index: 1;
        }
    }
}

.badgeSum {
    position: absolute;
    bottom: 0;
    right: 2.5rem;
    height: 12.2rem;
    width: 4.8rem;
    line-height: 12.2rem;
    text-align: center;
    color: #004E73;
    font-size: 8rem;
    font-weight: 600;
    z-index: 10;

    .badgeSumText {
        margin-top: 2rem;
        height: 1.8rem;
        width: 2.5rem;
        font-size: 1.8rem;
    }
}
// 第三行
.line3 {
    position: relative;
    width: 100%;
    height: 11rem;
    background: url("../img/index-swiper-bg2.jpg") no-repeat;
    background-size: cover;
    border-radius: 1.5rem;

    .line3Text {
        position: absolute;
        top: 1.3rem;
        left: 1.5rem;
        font-size: 1.6rem;
        color: #fff;
    }
}
// 第四行
.line4 {
    position: relative;
    width: 100%;
    height: 11rem;
    background: url("../img/index-card-run.png") no-repeat;
    background-size: cover;
    border-radius: 1.5rem;

    .line4Text {
        position: absolute;
        top: 1.3rem;
        left: 1.5rem;
        font-size: 1.6rem;
        color: #fff;
    }
}
